// 安装：npm install @fingerprintjs/fingerprintjs

// 使用示例：
import FingerprintJS from '@fingerprintjs/fingerprintjs';

// 初始化指纹JS Library
FingerprintJS.load().then(fp => {
    // 获取访客ID
    fp.get().then(result => {
        const visitorId = result.visitorId;
        console.log(visitorId);
    });
});

